package com.woniuxy.counter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
@Data
@TableName("Entrustment")
public class Entrustment implements Serializable {
    @TableId(type = IdType.AUTO)
    private int id;
    private int userId;
    private String  stockId;
    private BigDecimal price;
    private int num;
    private String time;
    private String status;
    public static final String WAITBUYING="1";
    public static final String WAITSALE="2";
    public static final String BUYFINISHED="3";
    public static final String SALEFINISHED="4";
    public static final String CANCEL="5";
}
